<?php
/*
 * sha1 is one way encryption technique.
 * sha1 encryption is 40 characters long and it contain HexaDecimal Numbers
 * We can not get (decrypt) original string from encrypted string.
 * */

$string = "Hello";
$encrypt =  sha1($string);
var_dump($encrypt);

$encrypt =  sha1(1);
var_dump($encrypt);

$encrypt =  sha1("This is my text");
var_dump($encrypt);

$encrypt =  sha1("This is my text");
var_dump($encrypt);

$encrypt =  sha1(1);
var_dump($encrypt);
